<%--
  登录页面，就实现了用户名密码登录

--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>电子相册登录页面</title>
    <style>
        .fm{
            width: 250px;
            height: 600px;
            border: 1px solid skyblue;
        }
        .lg{
            /*background-image: url(../img/login.png);*/
            background-color:#D1EEEE ;
            text-align: center;
            line-height: 30px;
            width: 100%;
            background-attachment: fixed;
            background-size: cover;
            background-position: center;
            height: 600px;

        }

    </style>
</head>
<body>
<div class="lg">
    <div class="fm">
        <form action = "/dzxc/loginServlet" method = "post">
            请输入用户名和密码:<br>
            用户名:<input type = "text" name = "UserName"/><br >
            密&nbsp&nbsp&nbsp码:<input type = "password" name = "UserPwd"/><br>
            <input type = "submit" value ="登录"/>
            <input type = "reset" value ="重置"/>
        </form >
        <!-- 想把这个做成 动态的一个java代码 result来提取-->
        ${result}
        <form action="/dzxc/login/register.jsp">
            没有账号？
            <input type="submit" value="点此注册"/>
        </form>
    </div>
</div>

</body>
</html>
